package model.algorithm;

import model.datastructure.FieldSurface2D;

public class LowestFitAlgorithm extends AbstractAlgorithm {

	public LowestFitAlgorithm( AbstractSurfaceIterator iterator ) {
		super( iterator );
		name = "LowestFitAlgorithm";
	}

	@Override
	public double evaluate( FieldSurface2D surface, int[] emptySpace ) {
		
		/* Get height of the new surface */
		double evaluation = surface.getHighest();
		
		return evaluation;
	}

}
